package com.example.online.controller.remarkController;

import com.example.online.service.RemarkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/remark")
public class RemarkController {
    /**
     * 转至添加评价页面
     */
    @GetMapping(value = "/remarkadd")
    public String remarkAdd()
    {
        return "remark/remarkadd";
    }
    /**
     * 转至 查看所有评价 页面
     */
    @GetMapping(value = "/remarklist")
    public String remarkList()
    {
        return "remark/remarklist";
    }

}
